package com.a.module_splash;

import android.os.Bundle;
import androidx.appcompat.app.AppCompatActivity;
import androidx.core.content.ContextCompat;
import com.blankj.utilcode.util.BarUtils;
import com.blankj.utilcode.util.ThreadUtils;
import com.a.lib_route.login.LoginNav;

public class AppLauncherActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_app_launcher);
        BarUtils.setStatusBarColor(this, ContextCompat.getColor(this, R.color.backBlue));
        BarUtils.setNavBarVisibility(this, false);
        ThreadUtils.runOnUiThreadDelayed(() -> {
            LoginNav.INSTANCE.buildMain()
                    .navigation();
            finish();
        }, 1000);
    }

}